//
//  XZHAutoResizingCellProtocol.h
//  MyApp
//
//  Created by sfpay on 14/12/30.
//  Copyright (c) 2014年 Zain. All rights reserved.
//

#import <Foundation/Foundation.h>

static CGFloat HTKDynamicTableViewCellAccessoryWidth = 33;
static NSMutableArray *cellArray;

@protocol XZHAutoResizingCellProtocol;
typedef id<XZHAutoResizingCellProtocol> (^FillCellDataCallbackBlock)(id <XZHAutoResizingCellProtocol> cellToFillData);


@protocol XZHAutoResizingCellProtocol <NSObject>

//计算填充data后的cell总高度
+ (CGSize)sizeForCellWithDefaultSize:(CGSize)defaultSize
                    FillDataCallback:(XZHAutoResizingCellProtocol) block;

@end
